package com.NxIndustries.Sapphire.Shortcuts;

import com.NxIndustries.Sapphire.R;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Toast;

public class HtcHotspot extends Activity{
	
	@SuppressLint("ShowToast")
	public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        overridePendingTransition(R.anim.lefttoright, R.anim.righttoleft);
        Intent intent = new Intent("android.intent.action.MAIN");
        {
            intent.setClassName("com.android.settings", "com.android.settings.TetherSettings");
        }
        try {
            this.startActivity(intent);
        }
        catch (ActivityNotFoundException i) {
            Toast.makeText((Context)(this), ("HTC Alert! (Process not found...)"), (0)).show();
        }
        this.finish();
    }
}
